package vo;

import java.util.Date;

public class ExaminfoVO {
	private int examinfo_no;
	private MemberVO member;
	private MajorunitVO majorunit;
	private String examinfo_title;
	private String examinfo_process;
	private String examinfo_question;
	private int examinfo_result;
	private int examinfo_level;
	private Date examinfo_regdate;
	private Date examinfo_examdate;
	private int examinfo_approval;
	private int examinfo_delete;

	public ExaminfoVO() {}

	public ExaminfoVO(int examinfo_no) {
		this.examinfo_no = examinfo_no;
	}
	
	/**
	 * updateExaminfo
	 */
	public ExaminfoVO(int examinfo_no, String examinfo_title,
			String examinfo_process, String examinfo_question,
			int examinfo_result, int examinfo_level, Date examinfo_examdate) {
		this.examinfo_no = examinfo_no;
		this.examinfo_title = examinfo_title;
		this.examinfo_process = examinfo_process;
		this.examinfo_question = examinfo_question;
		this.examinfo_result = examinfo_result;
		this.examinfo_level = examinfo_level;
		this.examinfo_examdate = examinfo_examdate;
	}
	
	/**
	 * registerExaminfo
	 */
	public ExaminfoVO(MemberVO member, MajorunitVO majorunit,
			String examinfo_title, String examinfo_process,
			String examinfo_question, int examinfo_result, int examinfo_level,
			Date examinfo_examdate) {
		this.member = member;
		this.majorunit = majorunit;
		this.examinfo_title = examinfo_title;
		this.examinfo_process = examinfo_process;
		this.examinfo_question = examinfo_question;
		this.examinfo_result = examinfo_result;
		this.examinfo_level = examinfo_level;
		this.examinfo_examdate = examinfo_examdate;
	}

	public ExaminfoVO(int examinfo_no, MemberVO member, MajorunitVO majorunit,
			String examinfo_title, String examinfo_process,
			String examinfo_question, int examinfo_result, int examinfo_level,
			Date examinfo_regdate, Date examinfo_examdate,
			int examinfo_approval, int examinfo_delete) {
		this.examinfo_no = examinfo_no;
		this.member = member;
		this.majorunit = majorunit;
		this.examinfo_title = examinfo_title;
		this.examinfo_process = examinfo_process;
		this.examinfo_question = examinfo_question;
		this.examinfo_result = examinfo_result;
		this.examinfo_level = examinfo_level;
		this.examinfo_regdate = examinfo_regdate;
		this.examinfo_examdate = examinfo_examdate;
		this.examinfo_approval = examinfo_approval;
		this.examinfo_delete = examinfo_delete;
	}
	
	/**
	 * didWriteExaminfo
	 */
	public ExaminfoVO(MemberVO member, MajorunitVO majorunit) {
		super();
		this.member = member;
		this.majorunit = majorunit;
	}

	public int getExaminfo_no() {
		return examinfo_no;
	}

	public void setExaminfo_no(int examinfo_no) {
		this.examinfo_no = examinfo_no;
	}

	public MemberVO getMember() {
		return member;
	}

	public void setMember(MemberVO member) {
		this.member = member;
	}

	public MajorunitVO getMajorunit() {
		return majorunit;
	}

	public void setMajorunit(MajorunitVO majorunit) {
		this.majorunit = majorunit;
	}

	public String getExaminfo_title() {
		return examinfo_title;
	}

	public void setExaminfo_title(String examinfo_title) {
		this.examinfo_title = examinfo_title;
	}

	public String getExaminfo_process() {
		return examinfo_process;
	}

	public void setExaminfo_process(String examinfo_process) {
		this.examinfo_process = examinfo_process;
	}

	public String getExaminfo_question() {
		return examinfo_question;
	}

	public void setExaminfo_question(String examinfo_question) {
		this.examinfo_question = examinfo_question;
	}

	public int getExaminfo_result() {
		return examinfo_result;
	}

	public void setExaminfo_result(int examinfo_result) {
		this.examinfo_result = examinfo_result;
	}

	public int getExaminfo_level() {
		return examinfo_level;
	}

	public void setExaminfo_level(int examinfo_level) {
		this.examinfo_level = examinfo_level;
	}

	public Date getExaminfo_regdate() {
		return examinfo_regdate;
	}

	public void setExaminfo_regdate(Date examinfo_regdate) {
		this.examinfo_regdate = examinfo_regdate;
	}

	public Date getExaminfo_examdate() {
		return examinfo_examdate;
	}

	public void setExaminfo_examdate(Date examinfo_examdate) {
		this.examinfo_examdate = examinfo_examdate;
	}

	public int getExaminfo_approval() {
		return examinfo_approval;
	}

	public void setExaminfo_approval(int examinfo_approval) {
		this.examinfo_approval = examinfo_approval;
	}

	public int getExaminfo_delete() {
		return examinfo_delete;
	}

	public void setExaminfo_delete(int examinfo_delete) {
		this.examinfo_delete = examinfo_delete;
	}

	@Override
	public String toString() {
		return "ExaminfoVO [examinfo_no=" + examinfo_no + ", member=" + member
				+ ", majorunit=" + majorunit + ", examinfo_title="
				+ examinfo_title + ", examinfo_process=" + examinfo_process
				+ ", examinfo_question=" + examinfo_question
				+ ", examinfo_result=" + examinfo_result + ", examinfo_level="
				+ examinfo_level + ", examinfo_regdate=" + examinfo_regdate
				+ ", examinfo_examdate=" + examinfo_examdate
				+ ", examinfo_approval=" + examinfo_approval
				+ ", examinfo_delete=" + examinfo_delete + "]";
	}
}
